#include <inttypes.h>

enum LogLevel {
    Trace = 0,
    Debug = 1,
    Info = 2,
    Warn = 3,
    Error = 4,
};

extern void
    my_lib_log(const char* message, int32_t level);

void test_api()
{
    my_lib_log("testing LogLevel::Trace level", Trace);
    my_lib_log("testing LogLevel::Debug level", Debug);
    my_lib_log("testing LogLevel::Info level", Info);
    my_lib_log("testing LogLevel::Warn level", Warn);
    my_lib_log("testing LogLevel::Error level", Error);
}

int main(void)
{
    test_api();

    return 0;
}
